﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MySVN.admin
{
    public partial class WebFormTriPhan : System.Web.UI.Page
    {
        private DataClassesT6L6DataContext dc = new DataClassesT6L6DataContext();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                this.GridView1.DataSource = this.dc.danhmucs.ToList();
                this.GridView1.DataBind();
            }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            this.Label1.Text = "Hello World ";
        }
    }
}